package com.joven.shelltest.utils.decorator;

/**
 * 装饰器模式
 * @author wzj
 * @since 2025/6/25 17:00
 */
public class DecreateTest {
    public static void main(String[] args) {
        OtherCostService service = new OtherCostService(new WorkService());
        service.doSomething();
    }
}
